<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">

	<ui:define name="body">
		<h:form id="bayiAdresForm">
			<rich:panel styleClass="richPanelYukseklik">
				<f:facet name="header">Özgeçmiş Bilgileri</f:facet>
				<h:outputText value="ÜNİVERSİTE BİLGİLERİ" styleClass="txtBaslik" />
				<rich:tabPanel switchType="ajax">
					<rich:tab label="1.Üniversite">
						<s:decorate id="bankaField" template="layout/display3.xhtml">
							<ui:define name="label">Son Okulum</ui:define>
							<ui:define name="value">
								<h:selectOneMenu value="#{kullaniciHome.instance.sonOkul}"
									id="sonOkulID" styleClass="comboWidth">
									<s:selectItems var="_sonOkul" value="#{sonOkul}"
										label="_sonOkul.getLongName" noSelectionLabel="Seçiniz">
									</s:selectItems>
									<s:convertEnum />
								</h:selectOneMenu>
							</ui:define>
							<ui:define name="value1">
								<h:selectOneMenu value="#{kullaniciHome.instance.ogretimDurumu}"
									id="durumID" styleClass="comboWidth">
									<f:selectItem id="si1" itemLabel="Seçiniz" itemValue=" " />
									<f:selectItem id="si1" itemLabel="Mezun" itemValue="M" />
									<f:selectItem id="si2" itemLabel="Öğrenci" itemValue="O" />
									<f:selectItem id="si2" itemLabel="Terk" itemValue="T" />
								</h:selectOneMenu>
							</ui:define>
						</s:decorate>
						<s:decorate id="uniSubeField" template="layout/edit.xhtml">
							<ui:define name="label">Üniversite</ui:define>
							<h:selectOneMenu value="#{kullaniciHome.instance.universite}"
								id="IlceID" styleClass="comboWidth">
								<s:selectItems var="_uni"
									value="#{universiteTanimlariList.universiteList}"
									label="#{_uni.adi}" noSelectionLabel="">
								</s:selectItems>
								<s:convertEntity />
							</h:selectOneMenu>
						</s:decorate>
						<s:decorate id="fakulteField" template="layout/edit.xhtml">
							<ui:define name="label">Fakulte</ui:define>
							<h:selectOneMenu value="#{kullaniciHome.instance.universite}"
								id="fakulteID" styleClass="comboWidth">
								<s:selectItems var="_fak"
									value="#{fakulteTanimlariList.fakulteList}" label="#{_fak.adi}"
									noSelectionLabel="">
								</s:selectItems>
								<s:convertEntity />
							</h:selectOneMenu>
						</s:decorate>
						<s:decorate id="bolumField" template="layout/edit.xhtml">
							<ui:define name="label">Bölüm</ui:define>
							<h:inputText id="bolumNo"
								value="#{kullaniciHome.instance.universiteBolum}"
								styleClass="adGenislik">
								<a:support event="onblur" reRender="bolumField"
									bypassUpdates="true" ajaxSingle="true" />
							</h:inputText>
						</s:decorate>
						<s:decorate id="yabanciField" template="layout/edit.xhtml">
							<ui:define name="label">Öğretim Dili</ui:define>
							<h:selectOneMenu
								value="#{kullaniciHome.instance.universiteYabanciDil}"
								id="fakulteID" styleClass="comboWidth">
								<s:selectItems var="_yd" value="#{yabanciDilList.yabanciDilList}"
									label="#{_yd.yabanciDilAdi}" noSelectionLabel="">
								</s:selectItems>
								<s:convertEntity />
							</h:selectOneMenu>
						</s:decorate>
						<s:decorate id="ogretimTipiField" template="layout/display.xhtml">
							<ui:define name="label">Öğretim Tipi </ui:define>
							<h:selectOneRadio
								value="#{kullaniciHome.instance.universiteOgretimTipi}">
								<f:selectItem id="item1" itemLabel="Örgün Öğretim" itemValue="O" />
								<f:selectItem id="item2" itemLabel="İkinci Öğretim"
									itemValue="I" />
								<f:selectItem id="item3" itemLabel="Açık Öğretim" itemValue="A" />
								<f:selectItem id="item3" itemLabel="Uzaktan Öğretim"
									itemValue="U" />
							</h:selectOneRadio>
						</s:decorate>
						<s:decorate id="mezuniyetField" template="layout/edit.xhtml">
							<ui:define name="label">Mezuniyet Tarihi</ui:define>
							<rich:calendar id="mezuniyetTarihi"
								value="#{kullaniciHome.instance.universiteMezuniyetTarihi}"
								popup="true" enableManualInput="true" datePattern="dd-MM-yyyy">
							</rich:calendar>
						</s:decorate>
					</rich:tab>
					<rich:tab label="2.Üniversite">
						 	<s:decorate id="uniSubeField" template="layout/display.xhtml">
							<ui:define name="label">Üniversite</ui:define>
							<h:selectOneMenu value="#{kullaniciHome.instance.universite2}"
								id="uniID2" styleClass="comboWidth">
								<s:selectItems var="_uni"
									value="#{universiteTanimlariList.universiteList}"
									label="#{_uni.adi}" noSelectionLabel="">
								</s:selectItems>
								<s:convertEntity />
							</h:selectOneMenu>
						</s:decorate>
						<s:decorate id="fakulteField2" template="layout/display.xhtml">
							<ui:define name="label">Fakulte</ui:define>
							<h:selectOneMenu value="#{kullaniciHome.instance.fakulte2}"
								id="fakulteID" styleClass="comboWidth">
								<s:selectItems var="_fak"
									value="#{fakulteTanimlariList.fakulteList}" label="#{_fak.adi}"
									noSelectionLabel="">
								</s:selectItems>
								<s:convertEntity />
							</h:selectOneMenu>
						</s:decorate>
						<s:decorate id="bolumField2" template="layout/display.xhtml">
							<ui:define name="label">Bölüm</ui:define>
							<h:inputText id="bolumNo"
								value="#{kullaniciHome.instance.universiteBolum2}"
								styleClass="adGenislik">
								<a:support event="onblur" reRender="bolumField2"
									bypassUpdates="true" ajaxSingle="true" />
							</h:inputText>
						</s:decorate>
						<s:decorate id="yabanciField2" template="layout/edit.xhtml">
							<ui:define name="label">Öğretim Dili</ui:define>
							<h:selectOneMenu
								value="#{kullaniciHome.instance.universiteYabanciDil2}"
								id="fakulteID" styleClass="comboWidth">
								<s:selectItems var="_yd" value="#{yabanciDilList.yabanciDilList}"
									label="#{_yd.yabanciDilAdi}" noSelectionLabel="">
								</s:selectItems>
								<s:convertEntity />
							</h:selectOneMenu>
						</s:decorate>
						<s:decorate id="ogretimTipiField" template="layout/display.xhtml">
							<ui:define name="label">Öğretim Tipi </ui:define>
							<h:selectOneRadio
								value="#{kullaniciHome.instance.universiteOgretimTipi2}">
								<f:selectItem id="item1" itemLabel="Örgün Öğretim" itemValue="O" />
								<f:selectItem id="item2" itemLabel="İkinci Öğretim"
									itemValue="I" />
								<f:selectItem id="item3" itemLabel="Açık Öğretim" itemValue="A" />
								<f:selectItem id="item3" itemLabel="Uzaktan Öğretim"
									itemValue="U" />
							</h:selectOneRadio>
						</s:decorate>
						<s:decorate id="mezuniyetField2" template="layout/edit.xhtml">
							<ui:define name="label">Mezuniyet Tarihi</ui:define>
							<rich:calendar id="mezuniyetTarihi2"
								value="#{kullaniciHome.instance.universiteMezuniyetTarihi2}"
								popup="true" enableManualInput="true" datePattern="dd-MM-yyyy">
							</rich:calendar>
						</s:decorate>
					</rich:tab>
				</rich:tabPanel>
				<div style="clear: both"><span class="required">*</span>
				Zorunlu Alanlar</div>
			</rich:panel>
			<div class="actionButtons"><h:commandButton id="save"
				value="#{messages.btnKaydetVeDevam}"
				action="#{kullaniciHome.doIK06}" /></div>
		</h:form>
	</ui:define>
</ui:composition>
